package cn.tx.service;

import cn.tx.model.Grade;
import cn.tx.model.Student;
import cn.tx.model.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherService {
    public Teacher findByUserName(String username);
    public int addTeacher(Teacher teacher);
    public List<Teacher> findList(Map<String, Object> querymap);
    public List<Teacher> findAll();
    public int findTotal(Map<String, Object> querymap);
    public int updateTeacherById(Teacher teacher);
    public int delete(String ids);
    public int edit(Teacher teacher);

}
